html<map name="planetmap" id="planetmap">

来源:百度知道 编辑:UC知道 时间:2024/06/08 20:28:04
<map name="planetmap" id="planetmap">
<area
shape="circle"
coords="180,139,14"
href ="/example/html/venus.html"
target ="_blank"
alt="Venus" />

<area
shape="circle"
coords="129,161,10"
href ="/example/html/mercur.html"
target ="_blank"
alt="Mercury" />

<area
shape="rect"
coords="0,0,110,260"
href ="/example/html/sun.html"
target ="_blank"
alt="Sun" />

</map>
大家好能告诉这是什么意思吗?
帮忙解释一下啊 !
谢谢

map是图形控制的标识,area是每个图形区域。coords是在屏幕上的绝对坐标,是两个,代表左上和右下的矩形的焦点位置,在这个区域里的点击操作都会触发
href的连接,target 是跳转到哪个目标块,鼠标移到上面alt 标记的图片上就会出现工具提示,